<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Module: Spec::DSL</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Module</strong></td>
          <td class="class-name-in-header">Spec::DSL</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/behaviour_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/behaviour.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/behaviour_callbacks_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/behaviour_callbacks.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/behaviour_eval_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/behaviour_eval.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/behaviour_factory_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/behaviour_factory.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/composite_proc_builder_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/composite_proc_builder.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/configuration_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/configuration.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/description_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/description.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/errors_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/errors.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/example_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/example.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/example_matcher_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/example_matcher.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/lib/spec/dsl/example_should_raise_handler_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/example_should_raise_handler.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/behaviour_eval_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/behaviour_eval_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/behaviour_factory_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/behaviour_factory_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/behaviour_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/behaviour_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/composite_proc_builder_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/composite_proc_builder_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/configuration_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/configuration_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/description_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/description_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/example_class_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/example_class_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/example_instance_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/example_instance_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/example_matcher_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/example_matcher_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/example_should_raise_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/example_should_raise_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/predicate_matcher_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/predicate_matcher_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/dsl/shared_behaviour_spec_rb.html">
                vendor\plugins\rspec/spec/spec/dsl/shared_behaviour_spec.rb
                </a>
        <br />
                <a href="../../files/vendor\plugins\rspec/spec/spec/runner/context_matching_spec_rb.html">
                vendor\plugins\rspec/spec/spec/runner/context_matching_spec.rb
                </a>
        <br />
            </td>
        </tr>

        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000405">a_shared_helper_method</a>&nbsp;&nbsp;
      <a href="#M000399">an_attribute_setter</a>&nbsp;&nbsp;
      <a href="#M000402">behaviour_class</a>&nbsp;&nbsp;
      <a href="#M000389">count</a>&nbsp;&nbsp;
      <a href="#M000398">each</a>&nbsp;&nbsp;
      <a href="#M000395">included</a>&nbsp;&nbsp;
      <a href="#M000394">included</a>&nbsp;&nbsp;
      <a href="#M000396">included</a>&nbsp;&nbsp;
      <a href="#M000397">included</a>&nbsp;&nbsp;
      <a href="#M000403">make_shared_behaviour</a>&nbsp;&nbsp;
      <a href="#M000390">new</a>&nbsp;&nbsp;
      <a href="#M000392">new</a>&nbsp;&nbsp;
      <a href="#M000391">new</a>&nbsp;&nbsp;
      <a href="#M000404">non_shared_behaviour</a>&nbsp;&nbsp;
      <a href="#M000400">run</a>&nbsp;&nbsp;
      <a href="#M000393">spec_inherited</a>&nbsp;&nbsp;
      <a href="#M000401">verify_error</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->
    <div id="includes">
      <h3 class="section-bar">Included Modules</h3>

      <div id="includes-list">
        <span class="include-name"><a href="DSL/ExampleMatcherSpecHelper.html">ExampleMatcherSpecHelper</a></span>
      </div>
    </div>

    <div id="section">

    <div id="class-list">
      <h3 class="section-bar">Classes and Modules</h3>

      Module <a href="DSL/BehaviourCallbacks.html" class="link">Spec::DSL::BehaviourCallbacks</a><br />
Module <a href="DSL/BehaviourEval.html" class="link">Spec::DSL::BehaviourEval</a><br />
Module <a href="DSL/ExampleMatcherSpecHelper.html" class="link">Spec::DSL::ExampleMatcherSpecHelper</a><br />
Class <a href="DSL/Behaviour.html" class="link">Spec::DSL::Behaviour</a><br />
Class <a href="DSL/BehaviourFactory.html" class="link">Spec::DSL::BehaviourFactory</a><br />
Class <a href="DSL/BehaviourSubclass.html" class="link">Spec::DSL::BehaviourSubclass</a><br />
Class <a href="DSL/CompositeProcBuilder.html" class="link">Spec::DSL::CompositeProcBuilder</a><br />
Class <a href="DSL/Configuration.html" class="link">Spec::DSL::Configuration</a><br />
Class <a href="DSL/Description.html" class="link">Spec::DSL::Description</a><br />
Class <a href="DSL/EvalModule.html" class="link">Spec::DSL::EvalModule</a><br />
Class <a href="DSL/Example.html" class="link">Spec::DSL::Example</a><br />
Class <a href="DSL/ExampleMatcher.html" class="link">Spec::DSL::ExampleMatcher</a><br />
Class <a href="DSL/ExamplePendingError.html" class="link">Spec::DSL::ExamplePendingError</a><br />
Class <a href="DSL/ExampleShouldRaiseHandler.html" class="link">Spec::DSL::ExampleShouldRaiseHandler</a><br />
Class <a href="DSL/FakeReporter.html" class="link">Spec::DSL::FakeReporter</a><br />
Class <a href="DSL/Fish.html" class="link">Spec::DSL::Fish</a><br />
Class <a href="DSL/PendingFixedError.html" class="link">Spec::DSL::PendingFixedError</a><br />

    </div>




      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000395" class="method-detail">
        <a name="M000395"></a>

        <div class="method-heading">
          <a href="DSL.src/M000395.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000395.html');return false;">
          <span class="method-name">included</span><span class="method-args">(mod)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000394" class="method-detail">
        <a name="M000394"></a>

        <div class="method-heading">
          <a href="DSL.src/M000394.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000394.html');return false;">
          <span class="method-name">included</span><span class="method-args">(mod)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000396" class="method-detail">
        <a name="M000396"></a>

        <div class="method-heading">
          <a href="DSL.src/M000396.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000396.html');return false;">
          <span class="method-name">included</span><span class="method-args">(mod)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000397" class="method-detail">
        <a name="M000397"></a>

        <div class="method-heading">
          <a href="DSL.src/M000397.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000397.html');return false;">
          <span class="method-name">included</span><span class="method-args">(mod)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000390" class="method-detail">
        <a name="M000390"></a>

        <div class="method-heading">
          <a href="DSL.src/M000390.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000390.html');return false;">
          <span class="method-name">new</span><span class="method-args">(*args, &amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000392" class="method-detail">
        <a name="M000392"></a>

        <div class="method-heading">
          <a href="DSL.src/M000392.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000392.html');return false;">
          <span class="method-name">new</span><span class="method-args">(*args, &amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000391" class="method-detail">
        <a name="M000391"></a>

        <div class="method-heading">
          <a href="DSL.src/M000391.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000391.html');return false;">
          <span class="method-name">new</span><span class="method-args">(*args, &amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000393" class="method-detail">
        <a name="M000393"></a>

        <div class="method-heading">
          <a href="DSL.src/M000393.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000393.html');return false;">
          <span class="method-name">spec_inherited</span><span class="method-args">(mod)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000405" class="method-detail">
        <a name="M000405"></a>

        <div class="method-heading">
          <a href="DSL.src/M000405.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000405.html');return false;">
          <span class="method-name">a_shared_helper_method</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000399" class="method-detail">
        <a name="M000399"></a>

        <div class="method-heading">
          <a href="DSL.src/M000399.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000399.html');return false;">
          <span class="method-name">an_attribute_setter</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000402" class="method-detail">
        <a name="M000402"></a>

        <div class="method-heading">
          <a href="DSL.src/M000402.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000402.html');return false;">
          <span class="method-name">behaviour_class</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000389" class="method-detail">
        <a name="M000389"></a>

        <div class="method-heading">
          <a href="DSL.src/M000389.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000389.html');return false;">
          <span class="method-name">count</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000398" class="method-detail">
        <a name="M000398"></a>

        <div class="method-heading">
          <a href="DSL.src/M000398.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000398.html');return false;">
          <span class="method-name">each</span><span class="method-args">(&amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000403" class="method-detail">
        <a name="M000403"></a>

        <div class="method-heading">
          <a href="DSL.src/M000403.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000403.html');return false;">
          <span class="method-name">make_shared_behaviour</span><span class="method-args">(name, opts=nil, &amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000404" class="method-detail">
        <a name="M000404"></a>

        <div class="method-heading">
          <a href="DSL.src/M000404.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000404.html');return false;">
          <span class="method-name">non_shared_behaviour</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000400" class="method-detail">
        <a name="M000400"></a>

        <div class="method-heading">
          <a href="DSL.src/M000400.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000400.html');return false;">
          <span class="method-name">run</span><span class="method-args">(example)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000401" class="method-detail">
        <a name="M000401"></a>

        <div class="method-heading">
          <a href="DSL.src/M000401.html" target="Code" class="method-signature"
            onclick="popupCode('DSL.src/M000401.html');return false;">
          <span class="method-name">verify_error</span><span class="method-args">(error, message=nil)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>